import ChatView from "../views/chatview/chatview";
import AskSick from "../views/homeview/asksick";
import Charts from "../views/homeview/charts";
import HomeView from "../views/homeview/homeview";
import TimeLine from "../views/homeview/timeline";
import LoginView from "../views/loginview/loginview";
import MyView from "../views/myview/myview";
import ShopView from "../views/shopview/shopview";

const routes = [
    {
        path: '/',
        element: <HomeView></HomeView>,
        children: []
    },
    {
        path: '/login',
        element: <LoginView></LoginView>
    },
    {
        path: '/chat',
        element: <ChatView></ChatView>
    },
    {
        path: '/my',
        element: <MyView></MyView>
    },
    {
        path: '/shop',
        element: <ShopView></ShopView>
    },
    {
        path:'/asksick',
        element:<AskSick></AskSick>
    },
    {
        path:'/charts',
        element:<Charts></Charts>
    },
    {
        path:'/timeline',
        element:<TimeLine></TimeLine>
    }
]

export default routes